import requests from "./request";

export const ping = () =>
  requests({
    url: "/ping",
    method: "GET",
  });
export const signIn = (data) =>
  requests({
    url: "/student/signIn",
    data,
    method: "POST",
  });
export const signOut = (data) =>
  requests({
    url: "/student/signOut",
    data,
    method: "PUT",
  });

export const getDate = (data) =>
  requests({
    url: "/queryKeyInfo",
    data,
    method: "POST",
  });
export const getMessage = (data) =>
  requests({
    url: "/getRanking",
    data,
    method: "POST",
  });
export const getRank = (data) =>
  requests({
    url: "/getRanking22",
    data,
    method: "POST",
  });
